﻿using System.Collections.Generic;
using System.ComponentModel;
using GIMS.Def.Arguments;
using GIMS.Def.Flags;
using GIMS.Def.Settings;

namespace GIMS.Def.Operators
{
    public class SaveOperator : Operator
    {

        public SaveOperator()
        {
            name = "Save";
            description = "Saves the given image at the defined path";
            instruction = "";
            iconPath = @"Images\save.png";
            argument = new PathArgument(PathType.save);
            possiblePrograms = Program.convert | Program.composite;
            position = Position.Last;
            settings=new List<Setting>();

            argument.PropertyChanged += new PropertyChangedEventHandler(OnArgumentChanged);
        }
    }
}
